<?php

namespace app\services;
use yii\base\Component;

class Services extends Component{
    const ON_PAY_SUCCESS = 'onPaySuccess';
    protected $Params = [];

    public function __construct($config = []) {
        parent::__construct($config);
    }

    public function setParams($key, $value) {
        $this->Params[$key] = $value;
    }

    public function getParams() {
        return $this->Params;
    }
}